export interface reqtype {
  status: number
  message: string
}
export interface collecttype {
  id: number
  username: string
}

export interface liketype {
  id: number
  data: string
}

export interface like {
    id: number
    value: number
    username: string
  }

export interface strategyObject {
  title: string
  date: string
  author: string
  like?: string | liketype[]
  id?: string
  tag: string
  people: number
  num: number
  img: string
  content: string
  money: number
  description?: string
  collect?: string | collecttype[]
  averageLikeValue?: number
}

export interface strategyRespnseData extends reqtype {
  data: strategyObject[]
}
